favourite_languages={
    'jen':['python','ruby'],
    'sarah':['c'],
    'edward':['python','haskell'],
}

for name,languages in favourite_languages.items():
    if len(languages)==1:
        print(f"{name.title()}'s favourite language is ")
        print(f"\t{languages[0].title()}")
    else:
        print(f"{name.title()}'s favoutite language are :")
        for language in languages:
            print(f"\t{language.title()}")